2008-03-31 Li Yuan <li.yuan@sun.com>
* gailbutton.c: (gail_button_ref_state_set):
Bug #433324. add/remove selectable state depand on if the button can
be focused.
svn path=/trunk/; revision=19950
+2008-03-31 Li Yuan <li.yuan@sun.com>
+
+ * gailbutton.c: (gail_button_ref_state_set):
+ Bug #433324. add/remove selectable state depand on if the button can
+ be focused.
+
2008-03-20 Li Yuan <li.yuan@sun.com>
* gailcell.c: (gail_cell_object_finalize):
if (GTK_WIDGET_STATE (widget) == GTK_STATE_ACTIVE)
atk_state_set_add_state (state_set, ATK_STATE_ARMED);
+ if (GTK_WIDGET_CAN_FOCUS(widget))
+ atk_state_set_add_state (state_set, ATK_STATE_SELECTABLE);
+ else
+ atk_state_set_remove_state (state_set, ATK_STATE_SELECTABLE);
+
+
return state_set;
}